package com.daidai.custom

import android.content.Context
import android.view.View
import android.widget.Button
import com.daidai.BasePopWindow
import com.daidai.tools.G
import com.daidai.spinner.R

class MyFirstPopWindow(ctx:Context) : BasePopWindow(ctx) {

    lateinit var btn:Button
    override fun initView(view: View) {
        btn = view.findViewById(R.id.btnHide)
        btn.setOnClickListener {
            G.elog("XXX btnhide XXX!")
            innerWindow.dismiss()
        }
    }

    override fun layoutResId() = R.layout.popwindow
}